package com.wf.course.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;
import com.utils.page.PageBean;
import com.wf.course.model.goods.GoodsImage;
import com.wf.course.model.goods.GoodsInfo;

public interface IGoodsInfoService {
	/**
	 * 根据pageBean中封装的查询条件查询
	 * @param pageBean
	 * @return
	 */
	public void indexInfo(PageBean<GoodsInfo> pageBean);
	/**
	 * 添加或修改
	 * @param 
	 */
	public void saveOrUpdateGoodsInfo(GoodsInfo goodsInfo,MultipartFile imgFile,GoodsImage goodsImage,
			MultipartFile[] goodsImgFile,String detail,String[] paramValues);
	/**
	 * 查询
	 * @param 
	 */
	public GoodsInfo queryGoodsInfoById(Integer id);
	/**
	 * 删除
	 * @param id
	 */
	public void deleteById(Integer id);
	/**
	 * 查询
	 */
	public List<GoodsInfo> queryGoods();
	
}
